<link rel="stylesheet" type="text/css" href="assets/handsontable/css/handsontable.full.min.css">
<link rel="stylesheet" type="text/css" href="assets/paging/page.css">
<!-- 主页-项目日志 -->
<section id="container">
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper">
            <!--state overview end-->
            <div class="row">
                <div class="col-lg-12">
                    <div class="alert alert-block alert-danger fade in">
                        <button data-dismiss="alert" class="close close-sm" type="button">
                            <i class="icon-remove"></i>
                        </button>
                        <strong>友情提示：</strong><br />
                        1、导出项目工时和成本时候，请先查看本页面下端的《工时成本计算步骤完成记录》中关于本月各阶段完成情况，如果当月“工时成本计算步骤完成记录”中字段有具体时间，则表示该月份的工时经过各方确认后的数据。否则导出的成本为·未更新的数据（以及上次确认的成本数据生成的可参考的成本数据）<br/>
                        2、只有填写了工时产生成本的项目才会在成本导出记录中显示。如果没有列出的项目，则表示该项目没有成本发生。
                    </div>
                    <section class="panel">
                        <header class="panel-heading ">
                            项目工时
                            <!--<i class="button-next icon-plus" onclick="location.href='#/aprolog'"> 新增</i>-->
                        </header>
                        <div class="panel-body" id="plogw">
                            <div class="row">
                                <div class="col-lg-3">
                                    <div class="input-group m-bot15">
                                        <span class="input-group-addon">项目名称</span>
                                        <input type="text" certus-required ng-model="up.projName" proj-name-list-log="up.projId,up.projName,projNameId" style="width:200px" id="projNameId" ng-change="projNameChangeUp(up.projName)"
                                            class="form-control" placeholder="自动检索，查询结果较多时候，系统不显示，需要尽量多输入相关字段">
<!--                                        <datalist id="browsers22" ng-model="selected">-->
<!--                                            <option ng-repeat="x in userProjSelect2" value="{{x.projName}}">-->
<!--                                        </datalist>-->
                                    </div>
                                </div>
                                <div class="col-lg-2">
                                    <div class="input-group m-bot15">
                                        <span class="input-group-addon"
                                            style="position: relative;z-index: 2;">年份选择</span>
                                        <select class="form-control" id="year"
                                            style="position: relative;margin-left:-4px;text-indent:2px;">
                                            <option value="2021">2021</option>
                                            <option value="2020">2020</option>
                                            <option value="2019" selected="true">2019</option>
                                            <option value="2018">2018</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-lg-2">
                                    <div class="input-group m-bot15">
                                        <span class="input-group-addon"
                                            style="position: relative;z-index: 2;">月份选择</span>
                                        <select class="form-control" id="month"
                                            style="position: relative;margin-left:-4px;text-indent:2px;">
                                            <option value="01">01月</option>
                                            <option value="02">02月</option>
                                            <option value="03">03月</option>
                                            <option value="04">04月</option>
                                            <option value="05">05月</option>
                                            <option value="06" selected="true">06月</option>
                                            <option value="07">07月</option>
                                            <option value="08">08月</option>
                                            <option value="09">09月</option>
                                            <option value="10">10月</option>
                                            <option value="11">11月</option>
                                            <option value="12">12月</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-lg-1 m-bot15">
                                    <button class="btn btn-info" style="margin-bottom:15px;" ng-click="searchProLog()">
                                        搜索
                                    </button>
                                </div>
                                <div class="col-lg-4 m-bot15">
                                    <button class="btn btn-success" ng-click="exprotPorjOkrLog()">导出结果</button>
                                    <button class="btn btn-success btn-l10"
                                        ng-click="exprotPorjOkrLog2()">导出项目工时成本</button>
                                </div>
                            </div>
                            <div id="plogtable" class="m-bot15"></div>
                            <!-- maxshowpageitem 显示页码个数    pagelistcount 每页显示数量-->
<!--                            <ul class="page" maxshowpageitem="2" pagelistcount="10" id="page"></ul>-->
                        </div>

                        <div class="panel-body" id="plogwdown">
                            <div class="row">
                                <div class="col-lg-3">
                                    <div class="input-group m-bot15">
                                        <span class="input-group-addon">项目名称</span>
                                        <input type="text" ng-model="down.projName" style="width:300px" proj-name-list-log="down.projId,down.projName,projNameId1"  certus-required id="projNameId1" ng-change="projNameChange(down.projName)"
                                               class="form-control" placeholder="自动检索，查询结果较多时候，系统不显示，需要尽量多输入相关字段">
<!--                                        <datalist id="browsers33" ng-model="selected">-->
<!--                                            <option ng-repeat="x in down.userProjSelect2" value="{{x.projName}}">-->
<!--                                        </datalist>-->
                                    </div>
                                </div>
                                <div class="col-lg-2">
                                    <div class="input-group m-bot15">
                                        <span class="input-group-addon"
                                              style="position: relative;z-index: 2;">年份选择</span>
                                        <select class="form-control" id="yeardown"
                                                style="position: relative;margin-left:-4px;text-indent:2px;">
                                            <option value="2022">2022</option>
                                            <option value="2021">2021</option>
                                            <option value="2020">2020</option>
                                            <option value="2019" selected="true">2019</option>
                                            <option value="2018">2018</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-lg-1 m-bot15">
                                    <button class="btn btn-info" style="margin-bottom:15px;" ng-click="searchProLogdown()">
                                        搜索
                                    </button>
                                </div>
                                <div class="col-lg-4 m-bot15">
                                    <button class="btn btn-success" ng-click="exprotPorjOkrLogdown()">导出结果</button>
<!--                                    <button class="btn btn-success btn-l10"-->
<!--                                            ng-click="exprotPorjOkrLog2down()">导出项目工时成本</button>-->
                                </div>
                            </div>
                            <div id="plogtabledown" class="m-bot15"></div>
                            <!-- maxshowpageitem 显示页码个数    pagelistcount 每页显示数量-->
                            <ul class="page" maxshowpageitem="2" pagelistcount="10" id="pagedown"></ul>
                        </div>
                        <section class="panel" id="plogbox" style="display:none;">
                            <header class="panel-heading" id="girdTitle">
                            </header>
                            <div class="panel-body" id="lisplog">
                                <div id="ploginfoContainer" class="dlshouwen-grid-container"></div>
                                <div id="ploginfoContainerTool" class="dlshouwen-grid-toolbar-container"></div>
                            </div>
                        </section>
                    </section>
                </div>

                <div class="col-lg-12">
                    <section class="panel">
                        <header class="panel-heading">
                            工时成本计算步骤完成记录
                        </header>
                        <div class="panel-body">
                            <!--历史记录-->
                            <div id="clHistryContainer" class="dlshouwen-grid-container"></div>
                            <div id="clHistryToolContainer" class="dlshouwen-grid-toolbar-container"></div>
                        </div>
                    </section>
                </div>
            </div>
        </section>
    </section>
    <!--main content end-->
</section>

<script src="assets/handsontable/handsontable.full.min.js" type="text/javascript"></script>
<script src="assets/handsontable/zh-CN.js" type="text/javascript"></script>
<script src="assets/paging/page.js" type="text/javascript"></script>
<script src="js/prolog/getdb.js"></script>